package com.itrip.mail;

public class RegisterMail {


    public static boolean sendMail(Integer code, String email) throws Exception {
        return MailSender.sendMail(
                "smtp.qq.com",
                "loveyouupup@qq.com",
                "kxfilpbnsbbwebjb",
                "爱旅行",
                "您的验证码：<h1>"+code+"</h1>，您正进行邮箱注册身份验证，打死不告诉别人,有效期5分钟！",
                "html",
                new String[]{email},
                null);
    }
}
